/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.prsistema.Estaticos;

import java.awt.Color;
import javax.swing.Icon;
import javax.swing.JButton;
import javax.swing.JLabel;

public class MetodosStaticos {
    
    public static void mudaJlabel(JLabel label, String msg, Color cor, Icon icon){
        label.setForeground(cor);
        label.setText(msg);
        label.setIcon(icon);
    }
    
    public static void mudaJbutton(JButton button, String msg, Icon icon){
        button.setText(msg);
        button.setIcon(icon);
    }
    
}
